package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.HealthPunchLog;
import org.springframework.stereotype.Repository;

/**
 * HealthPunchLogMapper接口
 * 
 * @author ruoyi
 * @date 2023-01-08
 */
@Repository
public interface HealthPunchLogMapper 
{
    /**
     * 查询HealthPunchLog
     * 
     * @param id HealthPunchLog主键
     * @return HealthPunchLog
     */
    public HealthPunchLog selectHealthPunchLogById(String id);

    /**
     * 查询HealthPunchLog列表
     * 
     * @param healthPunchLog HealthPunchLog
     * @return HealthPunchLog集合
     */
    public List<HealthPunchLog> selectHealthPunchLogList(HealthPunchLog healthPunchLog);

    /**
     * 查询没有健康打卡的学生列表
     *
     * @param healthPunchLog HealthPunchLog
     * @return HealthPunchLog集合
     */
    public List<HealthPunchLog> selectUnHealthPunchLogList(HealthPunchLog healthPunchLog);

    /**
     * 新增HealthPunchLog
     * 
     * @param healthPunchLog HealthPunchLog
     * @return 结果
     */
    public int insertHealthPunchLog(HealthPunchLog healthPunchLog);

    /**
     * 修改HealthPunchLog
     * 
     * @param healthPunchLog HealthPunchLog
     * @return 结果
     */
    public int updateHealthPunchLog(HealthPunchLog healthPunchLog);

    /**
     * 删除HealthPunchLog
     * 
     * @param id HealthPunchLog主键
     * @return 结果
     */
    public int deleteHealthPunchLogById(String id);

    /**
     * 批量删除HealthPunchLog
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHealthPunchLogByIds(String[] ids);

    public int countNotHealthPunchLog();

    public List<HealthPunchLog> selectHealthPunchLogByStudentId(String studentId);
}
